load dataset X = pd.DataFrame(data.data, columns=data.features)

118

load dataset X = pd.DataFrame(data.data, columns=data.features) -

from sklearn.datasets import load_iris
import pandas as pd

data = load_iris()
df = pd.DataFrame(data.data, columns=data.feature_names)
df.head()

Comments

Submit
0 Comments